package com.niit.agricstore.enu;

public enum OrderStatus {
    //状态：0待付款，1已付款，2已发货，3已收货，4已取消，5已完成，6退款中，7已退款
    PENDING_PAYMENT(0), PAID(1), SHIPPED(2), DELIVERED(3),
    CANCELED(4), COMPLETED(5),REFUNDING(6),  REFUNDED(7);

    private final int status;

    OrderStatus(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }
}
